import Vue from 'vue'
import App from './App'
import store from '@/store/index.js'
import js_sdk from '@/js_sdk/installs/index.js'
import $api from './common/common.js'
import $config from './common/config.js'
import yunapi from '@/js_sdk/utils/yunapi.js'

// 此值为true时, 可展示红包相关, 环境确定后, 使用编译器 #IF 替代, 可提高性能
Vue.prototype.$nowpay = false
Vue.prototype.$api = $api
Vue.prototype.$yunapi = yunapi
Vue.prototype.$config = $config
App.mpType = 'app'
Vue.use(js_sdk)

const app = new Vue({
	...App
})
app.$mount()
